#!/usr/bin/python
# -*- coding: UTF-8 -*-
import time
start = time.clock()

def factoriel ( n ):
  if ( n == 1 ):
    return 1
  elif ( n > 1 ) :
    return factoriel(n-1) * n
  else:
    return float('nan')

print factoriel(10)

print "problem solved in ", (time.clock() - start), "s"
